Search

Selected option

Search Results

Searchvirtual serial port , find 25 items
  • Sort by
  • Most recent
  • Popularity
Training  Learning  Junior  Watch time - 10:10
The introduction of UART of Nuvoton NuMicro Family Microcontroller: basic functions and examples. #Training #Basic #en #Learning - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
Product  Tool  Learning  Watch time - 8:24
The video introduces Nuvoton's MPU N9H30's development set-up for Linux and Non-OS, taking NuMaker-emWin-RDK-N9H30 for example. Starting from the EVB introduction to BSP and related software downloads. - User manuals and related resource can be downloaded https://www.nuvoton.com/products/gui-solution/gui-reference-design/numaker-emwin-rdk-n9h30/ First, we introduce how to program Linux OS to the N9H30 evaluation board Find the N9H30 evaluation board resource that we used on Nuvoton’s Github and download the VMware Image https://github.com/OpenNuvoton/MPU-Family VMware application can be downloaded from the VMware website https://www.vmware.com/tw/products/workstation-player/workstation-player-evaluation.html First, open the VMware Find the ubuntu_NUC970_980_Linux folder we downloaded Choose Ubuntu 64-bit_nuvoton.vmx Choose Play virtual machine The password is “user” It will take a while to open this application for the first time Open the terminal when the system is ready Enter NUC970_Buildroot-master folder After entering the folder, we need to update the Buildroot tool Enter the command as shown below “git reset –hard” “git pull” After updating, enter the dl folder Remove the original Linux kernel and u-boot Enter the command as shown below “sudo rm -rf linux-master.tar.gz uboot-master.tar.gz” After entering, enter the password “user” Leave the dl folder and enter the Buildroot folder Enter the “make clean” command You don’t need to do these steps unless updating Buildroot tools Now, we set up the evaluation board configuration Enter configs folder to search evaluation board name Back to buildroot after searching Enter “make nuvoton_n9h30_emwin_defconfig” to generate configuration file After finishing these step, enter “make” to compile It will take about three hours to compile After compiling, copy the two files below to windows “/NUC970_Buildroot-master/output/images/uImage” “/NUC970_Buildroot-master/output/build/uboot-master/u-boot.bin” Create text file ”env-nor.txt” The content is shown below: baudrate=115200 bootdelay=1 stderr=serial stdin=serial stdout=serial setspi=sf probe 0 50000000 loadkernel=sf read 0x7fc0 0x200000 0x600000 bootcmd=run setspi;run loadkernel;bootm 0x7fc0 bootargs=noinitrd root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0 rdinit=/sbin/init mem=32M mtdparts=m25p80:0x200000@0x0(u-boot),0x600000@0x200000(kernel),-(user) ignore_loglevel Then, we need to install NuWriter and related file The NuWriter is a programming tool provided by Nuvoton. The NuWriter application and firmware code are open-sourced, and users can add new features or develop new user interfaces per user’s application NuWriter: https://github.com/OpenNuvoton/MPU-Family Open “NUC970_NuWriter-master” Enter Driver folder and install “WinUSB4NuVCOM.exe” Enter /Nuwriter/Release and execute NuWriter Choose IC number based on the evaluation board We need to program Image to SPI Flash, so we choose SPI Here we need to turn the all Power-On Setting to ON Push Reset button Return to NuWriter to check the green light and the connection If it is not connecting, click Re-Connect to reconnect After confirm the connection, start to program Image Program the three files to particular address u-boot.bin program to 0xe00000 env.nor.txt program to 0x80000 uImage program to 0x200000 After programming, turn the Power-On Setting to off Push the Reset button Evaluation board can start to boot from SPI-NOR After booting, we need to find the rcS demo application under/etc/init.d Enter “chmod 777 rcS” to modify the application Now, you can see the application on the evaluation board panel Here, we finish compiling and programming The next topic is how to compile and program Non-OS code First, download MDK-Arm from the link below https://www.keil.com/download/product/ Download the Non-OS BSP provided by Nuvoton https://github.com/OpenNuvoton/MPU-Family The BSP includes Keil environment set up user manual Use Keil need to purchase the related license After downloading, Open Keil uVision Click the File on the upper left and choose Open Go to the BSP that we downloaded choose BSP, SampleCode, emWin_SimpleDemo, KEIL and emWin_SimpleDemo.uvproj Click Option for Target Click Device and choose NuMicro ARM9 Database and N9H_series After setting up, click Rebuild, and it will generate a sample code application which is a binary file Open the NuWriter and connect it to the evaluation board Choose SPI and search the application we built \N9H30_emWin_Non-OS_BSP_v1.04.000\N9H30_emWin_Non-OS_BSP_v1.04.000\BSP\SampleCode\emWin_SimpleDemo\KEIL\obj\emWin_SimpleDemo_FW070TFT_24BPP.bin Follow the setting and program the file to 0x0 After programming, turn the Power-On Setting to boot from SPI You can see the demo application on the evaluation #Basic #Product #Tool #Learning #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC buy now: https://direct.nuvoton.com/ contact us: SalesSupport@nuvoton.com
Watch time - 2:41
NuMicro® M031BT BLE 5.0 低功耗藍牙微控制器系列,以 Arm® Cortex®-M0 為核心,工作頻率高達 48 MHz,內建最高 128 KB Flash 和 16 KB SRAM,提供 BLE 5.0 和 2.4 GHz 雙模功能。相較於傳統集成簡單周邊的 BLE SoC,NuMicro® M031BT 系列內建豐富周邊與優異類比控制功能,實現一顆微控制器取代 BLE SoC 加控制晶片的方案,不僅大幅縮小 PCB 尺寸,QFN48封裝面積僅有 5mm x 5mm,也降低射頻佈局困難度,加上新唐參考設計方案與範例代碼,使得低功耗藍芽的應用開發變得相當容易。 NuMicro® M031BT 系列針對射頻應用提供高達 +8 dBm 的射頻發射功率、-94 dBm 的良好接收靈敏度、1 Mb/s 或 2 Mb/s 的傳輸速度,並且能在 2.4GHz 干擾嚴重的環境提供突出的抗噪表現,提升通訊距離和可靠性,滿足智慧家庭、消費電子以及工業物聯網等應用場景的需求。 NuMicro® M031BT 系列運作於 1.8V 至 3.6 V 工作電壓,內建 32 位硬體乘法器/除法器、高達 5 通道 PDMA、16 通道 12 位2 MSPS 高採樣率的 ADC 可運行在 1.8V 低電壓,提供精確且快速地效能表現,12 路 96 MHz PWM 可快速響應和精準的控制外部裝置。此外,M031BT 亦提供了豐富的周邊,例如 1 組 24 MHz SPI/I2S、3 組 6 MHz UART 並可支援單線式傳輸、2 組 I2C、1 組高彈性通用串行控制接口 (USCI) 可設為 UART, I2C 或 SPI。 NuMicro® M031BT 系列為了保護開發者的智慧財產權,內嵌一個額外的安全保護 Flash 區塊 (SPROM, Security Protection ROM),提供一個獨立且安全加密執行區域以保護關鍵程式代碼。記憶體鎖定功能 (Flash lock bits) 設計提供韌體防止外界存取或寫入保護。每一顆M031BT 具有一個 96 位元晶片唯一序號 (Unique Identification, UID) 及一個 128 位元唯一客戶序號 (Unique Customer Identification, UCID),大幅提升產品的保密與代碼安全性。 NuMicro® M031BT series: An low-power BLE 5.0 and 2.4GHz dual-mode microcontroller series by Arm® Cortex®-M0 core operating up to 48 MHz, with up to 128 KB Flash and 16 KB SRAM. In addition to the BLE 5.0 and 2.4GHz RF functions, the NuMicro® M031BT series built-in rich peripherals and analog control functions realize wireless connectivity. The 5mm x 5mm QFN48 package greatly reduces the PCB size and reduces RF layout difficulty. Furthermore, Nuvoton's reference design and rich sample code make the application development for low-power microcontroller with BLE/2.4G RF easier. The NuMicro® M031BT series provides up to +8 dBm RF transmit power, a good receiving sensitivity of -94 dBm, 1 Mb/s, or 2 Mb/s transmission speed RF applications, and outstanding anti-noise performance in 2.4GHz interference environments to ensure communication distance and reliability. With these, the M031BT series are expected to meet the needs of application scenarios such as industrial Internet of Things (IIoT), smart home, consumer electronics, etc. The NuMicro® M031BT series operates from 1.8V to 3.6V. It features a built-in 32-bit hardware divider, up to 5-channel PDMA, a 16-channel 12-bit 2 MSPS high sampling rate ADC that can run down to 1.8V low voltage, and 12-channel PWM running up to 96 MHz that can quickly respond and accurately control external devices. Besides, the M031BT also provides many peripherals such as one set of 24 MHz SPI/I2S, three sets of 6 MHz UART supporting single-wire transmission, two sets of I2C, and one set of highly flexible universal serial control interface (USCI) that can be configured as UART, I2C or SPI. To protect the intellectual property rights, the NuMicro® M031BT series is embedded with an additional security protection Flash block (Security Protection ROM, SPROM) to provide an independent and secure encrypted execution area to protect critical program code. Flash lock bits are designed to provide firmware to prevent external access or write protection. There is a 96-bit unique chip identification (Unique Identification, UID) and a 128-bit unique customer identification (UCID) on each M031BT, which significantly improves product confidentiality and code security. Nuvoton provides complete development tools, such as the NuMaker-M031BT evaluation board, software development kits, and sample codes, as well as free downloadable Keil MDK to speed up the end-product evaluation and development cycle. - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw 聯絡我們:SalesSupport@nuvoton.com
Training  Tool  Learning  Watch time - 0:41
The new-generation Nu-Link2-Pro has debugging functions, ETM tracking, serial data analysis, and USB-to-serial communication bridge. The fast programming speed and convenient firmware upgrade of ISP products allow customers to process more quickly and conveniently at every stage from development to mass production, increasing the development and mass production efficiency. It is an indispensable weapon for engineers' product development and mass production upgrade. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://bit.ly/3bk0AD8 Contact us: SalesSupport@nuvoton.com #en #Tool #Training #Intermediate #Learning
Training  Tool  Learning  Watch time - 2:10
Explain how to use Nu-Link2-Pro to program the target chip, make the target chip output the "Hello World" string via UART, and send it to the PC through the built-in virtual serial port interface of Nu-Link2-Pro and display it on the terminal software. - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://bit.ly/3bk0AD8 Contact us: SalesSupport@nuvoton.com #en #Tool #Training #Intermediate #Learning
Training  Tool  Learning  Watch time - 3:19
This video introduces how to download and install Arm Keil, and its content includes how to use Nuvoton's product serial number to apply for an Arm Keil product serial number and how to receive a product serial number that can be used in the activation step. Help you to install and use Arm Keil easily, and through Nuvoton's product serial number, free (M0 series) or half price (M23, M4 series) use Arm Keil product serial number. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
Training  Tool  Learning  Watch time - 5:9
Hello everyone, I am Chris, the field application engineer from Nuvoton Technology. Today, I will introduce the application and principle of programmable seriel I/O aka PSIO on M251/M252. The programmable serial I/O of NuMicro M251/M252 series can generate arbitrary waveforms and combine them to achieve data transmission and reception of specific serial communication protocols. Of course, standard serial communication can also be achieved, such as UART SPI I2C Usually, it is common to use Timer+GPIO to achieve these specific communication protocols, but it is more complicated and requires frequent CPU intervention. When we use PSIO, this not only simplifies the complexity of the operation but also reduces the burden on the CPU. The saved CPU performance could be distributed in other places. Since all hardware operations do not require software intervention, the timing control is more precise. The principle of PSIO is to use a slot controller to control the pin input and output or determine the state, and it can also control the duration of these states. Each slot controller has eight slots, which can be used as eight settings, and the registers corresponding to each slot can access the data that needs to be input and output, and can also set the time for the current pin to maintain this state. Each slot can reach a checkpoint, usually 1 to 1, 2 to 2, 3 to 3, and so on. Each checkpoint can set the pin status of the corresponding slot within the corresponding time. Next, let’s take a look at a simple output-only example In the initial stage, we first set the state of the pin to be high before SLOT has started, so the output is high Then when the Slot controller receives the start signal, SLOT0 is set to output low level according to the setting of CP0 and waits for the time of SLOT0 to expire. Then SLOT1 is set to output low level according to the setting of CP1 and waits for the time of SLOT1 to expire. And so on, followed by SLOT2 output low level SLOT3 low level SLOT4 high level SLOT5 high level After SLOT5, since SLOT6 is not set, the waveform of the protocol can be completed with only six slots Between the time of the next data transmission, we set the interval low, so the output is low at this time Users can complete different protocols according to these simple operations. In the related resources section, we have provided two PSIO application notes. There are two protocol examples with more detailed operations and descriptions. If you want to know more details about PSIO, please download it from the URL in the video. Several sample codes of different protocols are also provided in BSP. That’s all for this tutorial. Thank you for watching it. Welcome to subscribe to our channel. If you want to know more information, please contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
Product  Learning  Watch time - 9:3
Nuvoton announced the latest ML51/ML54/ML56 microcontroller, built-in capacitive touch sensing, LCD driver highly integrated low power platform. Based on 1T 8051 core, running up to 24MHz, the power consumption in normal run mode is 80uA/MHz, lower than 1uA in power down mode the power consumption while power down with LCD on is lower than 20uA. 0:00 intro 0:37 NuMicro 8051 Microcontroller 1:38 ML51/ML54/ML56 Product Portfolio 2:18 ML51/ML54/ML56 Features 3:27 Broad Scalability 4:05 Provide 4 Different Power Modes 4:44 LCD Driver Feature 5:52 Touch Key Features 7:05 Target Applications #Product #Learning #Basic #en #ML51 #ML54 #ML56 #8051 #LowPower #LCD-Driver #HumanMachineInterface #HMI #TouchKey-IC #HomeAppliance #EmbeddedWorld2022 - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/low-power-8051-series/ Contact us: SalesSupport@nuvoton.com
Training  Tool  Learning  Watch time - 5:53
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to connect to AWS IoT service using MbedOS on NuMaker-IoT-M487 development board The sample code is on GitHub, the URL is https://github.com/OpenNuvoton/Mbed-to-AWS-IoT To avoid typos, use keyword “OpenNuvoton” to search on google. Find the Nuvoton on GitHub, and click it On the Nuvoton GitHub page, use AWS as keyword to search the sample code: Mbed-to-AWS-IoT Right click to copy the URL for later use. Then enter the URL https://ide.mbed.com After log in, make sure the NuMaker-IoT-M487 board has selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS”. There is detailed description of how to add a board. Click the “Import” on the left of menu bar. In the “Import Wizard”, click “Click here” Please paste or key in the sample code URL to “Source URL:”, Select Import as “Program” Click “Import Name”, the project name “Mbed-to-AWS-IoT” will be filled automatically. Then click “Import”. After sample code imported, click “mbed_app.json” to open it. To use Wi-Fi, you have to configure SSID and password to match your Wi-Fi AP setting. In NuMaker_IOT_M487 session of mbed_app.json file, find the “wifi-ssid” to set your SSID. It is at line 44. And then set password to “wifi-password”. It is at line 45. Save it and click “Compile” to build the code. It takes time to compile code, please wait. You need an AWS account to use AWS IoT Core service. To create a thing, a policy, and certificates, then put the certificate to MQTT_server_setting.h file in the sample code. The sample code has included a certificate provided by Nuvoton for test only, so that you can quickly operate this example. If you don’t have an AWS account, it is recommended that you apply for an account and use your certificates in the example to observe the connection status on AWS IoT console page. After completed, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”. Then we connect the NuMaker-IoT-M487 USB port to your computer. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate. And no flow control settings. Then “Open” it. Back to the folder you just download the binary firmware file (Mbed-to-AWS-IoT.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. You can see the messages on terminal. The device has acquired IP address from Wi-Fi AP, then successfully connect to AWS IoT and subscribe a topic. Then press button (SW2) on board to send a message. You can see the message published to server and received a message from server. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “SalesSupport@nuvoton.com” - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #tool #training #learning #intermediate #en
Watch time - 3:32
The NAU82011YG is a highly efficient, filter-free, mono Class-D audio amplifier with variable gain, which is capable of driving a 4Ω load with up to 2.9W output power. This device provides chip enable pin with extremely low standby current and fast start-up time of 4ms. The NAU82011YG is ideal for battery driven portable applications. NAU82011YG features 91% efficiency, low quiescent current (i.e. 1.25mA at 3.6V) and superior EMI performance. The audio input of this device can be configured as either single-ended or differential input mode. Target Applications: • Portable Audio Device/Speaker • Portable Navigation Device • Tablet PC Key Features: • Audio Input - Differential / Single-end input - DC PSRR Typ.@95dB - CMRR Typ.@63dB • Audio Output - Powerful Mono Class-D Amplifier - 2.9W (4Ω @ 5V, 10% THD+N) - 2.3W (4Ω @ 5V, 1% THD+N) - Low Output Noise: 20 μVRMS • Advance Feature - Low Current Shutdown Mode - Click-and Pop Suppression - Integrated Image Reject Filter - Integrated feedback resistor of 300 kΩ • Operating Characteristics - voltage range: 2.5 V to 5.5 V - Temperature range: -40°C to 85°C - Low Quiescent Current: 1.2mA@3.6V, 1.7mA@5V • Package - WLCPS-9
Training  Tool  Learning  Watch time - 5:0
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to record and play audio with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the “New” on the left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker audio playback" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The sample code has three functions: 1. Record 10 seconds sound and save to Micro SD card 2. Play sounds stored in Micro SD card 3. Loopback. Record sound and play it immediately. Click main.cpp to open it. Then scroll down to line 421. You can see the functions calls here. It set to loopback only. Let’s do a little modification. Hit a key on console to start record 10 seconds then play it, and then do loopback. printf("Press a key to start recording 10 seconds..."); getchar(); demo_record(); demo_play(); demo_loopback(); Save it and click “Compile” to build the code. Compilation takes a while, please wait. After the compilation is completed, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”. Please plug an earphone commonly used for mobile phone in headphone jack on NuMaker-IoT-M487 board. For demonstration, we use a headphone splitter cable to connect a microphone and a speaker. Do not put the microphone and speaker too close to avoid feedback howling. Then connect the USB port to your computer and make sure the onboard LED lights up. Back to the folder you just download the binary firmware file (NuMaker-mbed-AudioPlayback-example.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 9600 baud rate. And no flow control settings. Then “Open” it. Press “Reset” on board to run the firmware again. Press a key on terminal to start record. Speak for about 10 seconds, then your voice will be played. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “SalesSupport@nuvoton.com” - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #tool #training #learning #intermediate #en
Training  Tool  Learning  Watch time - 3:55
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use SD card with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the “New” on the left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker SD-File-System with SD mode" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. LittleFS uses less memory, supports power failure protection. However, LittleFS is different from the FAT file system, so after uses littleFS, the SD card will be formatted as LittleFS. The sample code uses FAT file system as default. Just click “Compiler” to build the example. It is in compiling, please wait a moment. After the compilation is complete, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Please insert a micro SD card into the card slot on the back of NuMaker-IoT-M487 board, then connect the USB to your computer and make sure the onboard LED lights up. Let’s back to the folder you just download the binary firmware file (NuMaker-mbed-SD-FileSystem-example.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate And no flow control settings. Then “Open” it. Press “Reset” on board to run the firmware again. You can see the messages on terminal while accessing SD card. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “SalesSupport@nuvoton.com” - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #tool #training #learning #intermediate #en
This website uses cookies to ensure you get the best experience on our website. Learn more
OK